import java.util.ListResourceBundle;

/**
 * ****************************************************************************
 * $Author: Yegor Chemisov $
 * $Revision: 2.1 $
 * ****************************************************************************
 */

public class GlobalRes extends ListResourceBundle 
{
    public static final String MENU_GAME                = "MENU_GAME";
    public static final String MENU_NEW                 = "MENU_NEW";
    public static final String MENU_SHOW                = "MENU_SHOW";
    public static final String MENU_HIDE                = "MENU_HIDE";
    public static final String MENU_ABOUT               = "MENU_ABOUT";
    public static final String MENU_GRID_SIZE           = "MENU_GRID_SIZE";
    public static final String MENU_CUSTOM              = "MENU_CUSTOM";
    public static final String MENU_BEST_TIMES          = "MENU_BEST_TIMES";
    public static final String MENU_PLAY_MODE           = "MENU_PLAY_MODE";
    public static final String MENU_MODE_TIMING         = "MENU_MODE_TIMING";
    public static final String MENU_MODE_COMPUTER       = "MENU_MODE_COMPUTER";
    public static final String MENU_MODE_HUMAN          = "MENU_MODE_HUMAN";
    public static final String MENU_EXIT                = "MENU_EXIT";
    public static final String MSG_MISSES               = "MSG_MISSES";
    public static final String MSG_TIME                 = "MSG_TIME";
    public static final String MSG_ABOUT                = "MSG_ABOUT";
    public static final String MSG_PREPARE              = "MSG_PREPARE";
    public static final String MSG_SECONDS              = "MSG_SECONDS";
    public static final String MSG_ADD_NAME             = "MSG_ADD_NAME";
    public static final String TITLE_CUSTOM             = "TITLE_CUSTOM";
    public static final String TITLE_CUSTOM_DELAY       = "TITLE_CUSTOM_DELAY";
    public static final String TITLE_CUSTOM_GRIDSIZE    = "TITLE_CUSTOM_GRIDSIZE";
    public static final String TITLE_ADD_NAME           = "TITLE_ADD_NAME";
    public static final String TABLE_CAPTION_PLAYER     = "TABLE_CAPTION_PLAYER";
    public static final String TABLE_CAPTION_MISSES     = "TABLE_CAPTION_MISSES";
    public static final String TABLE_CAPTION_SECONDS    = "TABLE_CAPTION_SECONDS";
    public static final String TABLE_MSG_NA             = "TABLE_MSG_NA";
    public static final String PROGRAMM_TITLE           = "PROGRAMM_TITLE";
    public static final String RESULTS_TITLE            = "RESULTS_TITLE";

    protected Object[][] getContents() 
    {
        return contents;
    }

    private static final Object[][] contents =  {
        { GlobalRes.MENU_GAME,              "Game"              },
        { GlobalRes.MENU_NEW,               "New"               },
        { GlobalRes.MENU_SHOW,              "Show"              },
        { GlobalRes.MENU_HIDE,              "Hide"              },
        { GlobalRes.MENU_ABOUT,             "About"             },
        { GlobalRes.MENU_PLAY_MODE,         "Play Mode"         },
        { GlobalRes.MENU_MODE_TIMING,       "Timed Play"        },
        { GlobalRes.MENU_MODE_HUMAN,        "Two Players"       },
        { GlobalRes.MENU_MODE_COMPUTER,     "Computer Play"     },
        { GlobalRes.MENU_GRID_SIZE,         "Grid Size"         },
        { GlobalRes.MENU_CUSTOM,            "Custom..."         },
        { GlobalRes.MENU_BEST_TIMES,        "Best Times..."     },
        { GlobalRes.MENU_EXIT,              "Exit"              },
        { GlobalRes.RESULTS_TITLE,          "Your results"      },
        { GlobalRes.PROGRAMM_TITLE,         "Match Card Pairs"  },
        { GlobalRes.TABLE_CAPTION_PLAYER,   "Player" },
        { GlobalRes.TABLE_CAPTION_MISSES,   "Misses" },
        { GlobalRes.TABLE_CAPTION_SECONDS,  "Time (sec)"      },
        { GlobalRes.TABLE_MSG_NA,           "n/a"      },
        { GlobalRes.MSG_ABOUT,              "(c) 2004  SKAITS.  Version " + MAPConsts.VERSION},
        { GlobalRes.TITLE_ADD_NAME,         "Enter your name" },
        { GlobalRes.TITLE_CUSTOM,           "Define your custom parameters" },
        { GlobalRes.TITLE_CUSTOM_GRIDSIZE,  "Custom Grid Size" },
        { GlobalRes.TITLE_CUSTOM_DELAY,     "Delay in Seconds" },
        { GlobalRes.MSG_ADD_NAME,           "You have the fastest time\nfor this level."
                                             + "\n\nPlease enter your name.",},
        { GlobalRes.MSG_PREPARE,            "Let's ready for game!" },
        { GlobalRes.MSG_MISSES,             "Misses: "      },
        { GlobalRes.MSG_TIME,               "Time:   "      },
        { GlobalRes.MSG_SECONDS,            " sec. "        }
    };
}
